<?php

namespace App\Models\Sms;

use App\Models\BaseModel;

/**
 * 短信模型层
 *
 * Class Role
 * @package App\Models\Adv
 */
class Sms extends BaseModel
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'sms';

    /**
     * Indicates if the model should be timestamped.
     * @var bool
     */
    public $timestamps = false;

    public function getSmsInfoAttribute($value)
    {
        return json_decode($value);
    }

}
